/* Copyright 2021 The LUCI Authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

a {
  color: var(--active-text-color);
}

.active-text {
  color: var(--active-text-color);
  cursor: pointer;
  font-size: 14px;
  font-weight: normal;
}

.duration {
  color: var(--light-text-color);
  background-color: var(--light-active-color);
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 500;
  line-height: 13px;
  text-align: center;
  white-space: nowrap;
  vertical-align: bottom;
  border-radius: 0.25rem;
  margin-bottom: 3px;
  width: 35px;
}

.duration.ms {
  background-color: var(--light-background-color-1);
}

.duration.s {
  background-color: var(--light-background-color-2);
}

.duration.m {
  background-color: var(--light-background-color-3);
}

.duration.h {
  background-color: var(--light-background-color-4);
}

.duration.d {
  color: white;
  background-color: var(--active-color);
}

input[type='checkbox'] {
  transform: translateY(1px);
}

mwc-icon {
  /* The icon font can take a while to load.
   * Set a default size to reduce page shifting.
   */
  width: var(--mdc-icon-size, 24px);
  height: var(--mdc-icon-size, 24px);
}

hr {
  background-color: var(--divider-color);
  border: none;
  height: 1px;
}
